package net.suncaper.psychological.service;

import net.suncaper.psychological.model.dto.UserDTO;
import net.suncaper.psychological.model.vo.UserVO;

import java.util.List;

/**
 * 用户服务接口
 */
public interface IUserService {

    List<UserVO> getUserList();
    List<UserVO> getAllUsers(); // 获取所有用户（包括已删除）
    UserVO getUserById(Long id);
    boolean addUser(UserDTO userDTO);
    boolean updateUser(UserDTO userDTO);
    boolean deleteUser(Long id);
    UserVO login(String username, String password);
    UserVO getUserByStudentId(String studentId);
    UserVO getUserByUsername(String username);
}
